package com.onedec.attendance.dao;

import com.onedec.attendance.entity.OnedecEmp;
import com.onedec.attendance.entity.OnedecEmpExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecEmpDao {
    long countByExample(OnedecEmpExample example);

    int deleteByExample(OnedecEmpExample example);

    int deleteByPrimaryKey(Integer empId);

    int insert(OnedecEmp record);

    int insertSelective(OnedecEmp record);

    List<OnedecEmp> selectByExample(OnedecEmpExample example);

    OnedecEmp selectByPrimaryKey(Integer empId);

    int updateByExampleSelective(@Param("record") OnedecEmp record, @Param("example") OnedecEmpExample example);

    int updateByExample(@Param("record") OnedecEmp record, @Param("example") OnedecEmpExample example);

    int updateByPrimaryKeySelective(OnedecEmp record);

    int updateByPrimaryKey(OnedecEmp record);
}